package com.detrum.bean;

import java.util.List;

/**
 * Created by abc on 2018/1/11.
 */

public class VersionBean_1 {


    /**
     * version : 1
     * data : {"app":[{"Name":"模数转换","vVersion":"1.0.1","Code":"1","FilePath":"app安装包文件路径","ImagePath":"app广告文件路径","UpdataMsg":"更新内容","UpdataFilePath":"app更新说明文件路径"},{"Name":"手持云台","vVersion":"1.0.1","Code":"1","FilePath":"app安装包文件路径","ImagePath":"app广告文件路径","UpdataMsg":"更新内容","UpdataFilePath":"app更新说明文件路径"}],"device":[{"Name":"模数转换","Version":"1.0.1.21541","Code":"1","Length":25125,"Verify":"adedgrd","FilePath":"设备安装包文件路径","ImagePath":"设备广告文件路径","Explain":"使用说明","UpdataMsg":"更新内容","UpdataFilePath":"设备更新说明文件路径"},{"Name":"手持云台","Version":"1.0.1.2152584","Code":"1","deviceLength":22585,"Verify":"adedgrd","FilePath":"设备安装包文件路径","ImagePath":"设备广告文件路径","Explain":"使用说明","UpdataMsg":"更新内容","UpdataFilePath":"设备更新说明文件路径"}]}
     */

    private String version;
    private DataBean data;

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<AppBean> app;
        private List<DeviceBean> device;

        public List<AppBean> getApp() {
            return app;
        }

        public void setApp(List<AppBean> app) {
            this.app = app;
        }

        public List<DeviceBean> getDevice() {
            return device;
        }

        public void setDevice(List<DeviceBean> device) {
            this.device = device;
        }

        public static class AppBean {
            /**
             * AppName : 模数转换
             * AppVersion : 1.0.1
             * AppCode : 1
             * AppFilePath : app安装包文件路径
             * AppADImagePath : app广告文件路径
             * UpdataMsg : 更新内容
             * AppInstructionsFilePath : app更新说明文件路径
             * AppFileLength : app安装包文件长度
             * AppInstructionsFileLength : app更新说明文件长度
             */

            private String AppName;
            private String AppVersion;
            private int AppCode;
            private String AppFilePath;
            private int AppFileLength;
            private String AppADImagePath;
            private String AppUpdataMsg;
            private String AppInstructionsFilePath;
            private String AppInstructionsFileLength;
            private String AppVerify;

            public String getAppName() {
                return AppName;
            }

            public void setAppName(String appName) {
                AppName = appName;
            }

            public String getAppVersion() {
                return AppVersion;
            }

            public void setAppVersion(String appVersion) {
                AppVersion = appVersion;
            }

            public int getAppCode() {
                return AppCode;
            }

            public void setAppCode(int appCode) {
                AppCode = appCode;
            }

            public String getAppFilePath() {
                return AppFilePath;
            }

            public void setAppFilePath(String appFilePath) {
                AppFilePath = appFilePath;
            }

            public int getAppFileLength() {
                return AppFileLength;
            }

            public void setAppFileLength(int appFileLength) {
                AppFileLength = appFileLength;
            }

            public String getAppADImagePath() {
                return AppADImagePath;
            }

            public void setAppADImagePath(String appADImagePath) {
                AppADImagePath = appADImagePath;
            }

            public String getAppUpdataMsg() {
                return AppUpdataMsg;
            }

            public void setAppUpdataMsg(String appUpdataMsg) {
                AppUpdataMsg = appUpdataMsg;
            }

            public String getAppInstructionsFilePath() {
                return AppInstructionsFilePath;
            }

            public void setAppInstructionsFilePath(String appInstructionsFilePath) {
                AppInstructionsFilePath = appInstructionsFilePath;
            }

            public String getAppInstructionsFileLength() {
                return AppInstructionsFileLength;
            }

            public void setAppInstructionsFileLength(String appInstructionsFileLength) {
                AppInstructionsFileLength = appInstructionsFileLength;
            }

            public String getAppVerify() {
                return AppVerify;
            }

            public void setAppVerify(String appVerify) {
                AppVerify = appVerify;
            }

            @Override
            public String toString() {
                return "appName = "+AppName+" appVersion = "+AppVersion+" appLength = "+AppFileLength+" appPath = "+AppFilePath+"  AppVerify = "+AppVerify;
            }
        }

        public static class DeviceBean {
            /**
             * DeviceName : 模数转换
             * DeviceVersion : 1.0.1.21541
             * DeviceCode : 1
             * SetupFileLength : 25125  安装包文件长度
             * SetupFileVerify : adedgrd  安装包文件校验码
             * SetupFilePath : 设备安装包文件路径
             * ADImagePath : 设备广告图片文件路径
             * Explain : 使用说明--文字说明
             * UpdataMsg : 更新内容--简短消息
             * InstructionsFilePath : 设备更新说明文件路径
             * InstructionsFileLength : 22585 instructions
             */

            private String DeviceName;
            private String DeviceVersion;
            private String DeviceCode;
            private int SetupFileLength;
            private String SetupFileVerify;
            private String SetupFilePath;
            private String ADImagePath;
            private String Explain;
            private String UpdataMsg;
            private String InstructionsFilePath;
            private int InstructionsFileLength;

            public String getDeviceName() {
                return DeviceName;
            }

            public void setDeviceName(String deviceName) {
                DeviceName = deviceName;
            }

            public String getDeviceVersion() {
                return DeviceVersion;
            }

            public void setDeviceVersion(String deviceVersion) {
                DeviceVersion = deviceVersion;
            }

            public String getDeviceCode() {
                return DeviceCode;
            }

            public void setDeviceCode(String deviceCode) {
                DeviceCode = deviceCode;
            }

            public int getSetupFileLength() {
                return SetupFileLength;
            }

            public void setSetupFileLength(int setupFileLength) {
                SetupFileLength = setupFileLength;
            }

            public String getSetupFileVerify() {
                return SetupFileVerify;
            }

            public void setSetupFileVerify(String setupFileVerify) {
                SetupFileVerify = setupFileVerify;
            }

            public String getSetupFilePath() {
                return SetupFilePath;
            }

            public void setSetupFilePath(String setupFilePath) {
                SetupFilePath = setupFilePath;
            }

            public String getADImagePath() {
                return ADImagePath;
            }

            public void setADImagePath(String ADImagePath) {
                this.ADImagePath = ADImagePath;
            }

            public String getExplain() {
                return Explain;
            }

            public void setExplain(String explain) {
                Explain = explain;
            }

            public String getUpdataMsg() {
                return UpdataMsg;
            }

            public void setUpdataMsg(String updataMsg) {
                UpdataMsg = updataMsg;
            }

            public String getInstructionsFilePath() {
                return InstructionsFilePath;
            }

            public void setInstructionsFilePath(String instructionsFilePath) {
                InstructionsFilePath = instructionsFilePath;
            }

            public int getInstructionsFileLength() {
                return InstructionsFileLength;
            }

            public void setInstructionsFileLength(int instructionsFileLength) {
                InstructionsFileLength = instructionsFileLength;
            }
        }
    }
}
